﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Enter.Utils.RandomExt
{
    public class RandomExtend
    {
        public static string NewGuid()
        {
            var ids = Guid.NewGuid().ToString().Split("-");
            ids[0] = DateTime.Now.ToString("yyyyMMdd");
            return string.Join("-", ids);
        }
    }
}
